<template>
      <van-search @click="souosuoFun()" disabled placeholder="请输入搜索关键词" />
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
const route = useRoute()
const souosuoFun=()=>{
    router.push({path:'/search',query:{name:''}})
}
</script>

<style lang="scss" scoped></style>